package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.RecruitPlan;
import cn.wolfcode.crm.query.RequireQueryObject;

import java.util.List;

public interface RecruitPlanMapper {
    void deleteByPrimaryKey(Long id);

    void insert(RecruitPlan record);

    RecruitPlan selectByPrimaryKey(Long id);

    List<RecruitPlan> selectAll();

    void updateByPrimaryKey(RecruitPlan record);

    /**
     * 查询总条数
     * @param qo
     * @return
     */
    int queryForCount(RequireQueryObject qo);

    /**
     * 分页查询
     * @param qo
     * @return
     */
    List<RecruitPlan> queryForList(RequireQueryObject qo);
}